import { _decorator, Component, Node, assert } from 'cc';
import { ViewInstanceType } from './ViewInstanceType';
import { ViewShowType } from './ViewShowType';
import { ViewLayerDefine } from './VewLayerDefine';
import { BaseComp } from './BaseComp';

const { ccclass, property } = _decorator;

@ccclass('BaseView')
export abstract class BaseView extends BaseComp {
    public intanceType: ViewInstanceType = ViewInstanceType.Single;//视图实例化类型
    public showType: ViewShowType = ViewShowType.STACK;//视图显示类型
    public layer: ViewLayerDefine = ViewLayerDefine.Pop;//视图层级
}


